STL containers
STL (Standard Template Library) containers are data structures that store collections of objects. STL containers are designed to be flexible, efficient, and consistent. They can store a variety of types and provide a range of operations to manipulate their contents.
Video Explanation

Types of STL Containers
-
Sequence Containers: Maintain elements in a specific sequence (order).
- Examples:
vector,list,deque,array,forward_list.
- Examples:
-
Associative Containers: Store elements in sorted order (by key) and allow fast retrieval using keys.
- Examples:
set,multiset,map,multimap.
- Examples:
-
Unordered Associative Containers: Do not maintain any particular order, but allow fast retrieval based on hash tables.
- Examples:
unordered_set,unordered_map,unordered_multiset,unordered_multimap.
- Examples:
-
Container Adapters: Provide a different interface to existing containers.
- Examples:
stack,queue,priority_queue.
- Examples: